
export namespace Base {
    /**
     * 服务基类
     * @param req 
     * @param res 
     * @param body 
     */
    export type Service = (req: Request, res: Response, body: object) => object | Promise<object> | null;
}
export class TaskService {
    "/task/add": Base.Service;
    "/task/del": Base.Service;
    "/task/up": Base.Service;
    "/task/all": Base.Service;
    "/task/:id": Base.Service;
}